package com.swp.oa.sys.pojo;

import java.util.Date;
import java.util.List;

public class Department {
    private String departmentid;

    private String parentid;

    private Integer sort;

    private String departmentname;

    private String createperson;

    private Date createdate;

    private String updateperson;

    private Date updatedate;

    private Integer version;

    private String description;
    
    private List<User> users;
    
    

    public List<User> getUsers() {
		return users;
	}

	public void setUsers(List<User> users) {
		this.users = users;
	}

	public String getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(String departmentid) {
        this.departmentid = departmentid;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getDepartmentname() {
        return departmentname;
    }

    public void setDepartmentname(String departmentname) {
        this.departmentname = departmentname;
    }

    public String getCreateperson() {
        return createperson;
    }

    public void setCreateperson(String createperson) {
        this.createperson = createperson;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public String getUpdateperson() {
        return updateperson;
    }

    public void setUpdateperson(String updateperson) {
        this.updateperson = updateperson;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return "Department [departmentid=" + departmentid + ", parentid="
				+ parentid + ", sort=" + sort + ", departmentname="
				+ departmentname + ", createperson=" + createperson
				+ ", createdate=" + createdate + ", updateperson="
				+ updateperson + ", updatedate=" + updatedate + ", version="
				+ version + ", description=" + description + "]";
	}

   
}